@import "../../template/indexTemplate/indexTemplate.wxss";
.head {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 120rpx;
    padding: 0 30rpx;
    background-color: #fff;
    z-index: 10;

    .head-search {
        width: 100%;

        .head-search-logo {
            width: 250rpx;
            height: 70rpx;
            overflow: hidden;
            image {
                // width: 100%;
                height: 100%;
            }
        }

        .head-search-input {
            width: 400rpx;
            height: 70rpx;
            border-radius: 35rpx;
            background-color: #EDF5FF;

            .placeholder {
                color: #869DB9;
            }
        }

        .head-share {
            button {
                width: 90rpx;
                background: transparent;
                padding: 0 0 0 40rpx;
            }
        }
    }


}

.body {
    margin-top: 130rpx;
    width: 100%;

    .body-carousel {
        width: 92%;
        margin: auto;

        swiper {
            height: 250rpx;
            color: #b1d2ff;

            swiper-item {
                overflow: hidden;

                view {
                    width: 100%;
                    height: 100%;

                    image {
                        width: 100%;
                        height: 100%;
                        border-radius: 10rpx;
                    }
                }
            }
        }

        .swiper-box .wx-swiper-dot {
            width: 10rpx;
            height: 10rpx;
            justify-content: space-between;
        }

        .swiper-box .wx-swiper-dot::before {
            content: "";
            flex-grow: 1;
            background: #ccc;
            border-radius: 10rpx;
        }

        .swiper-box .wx-swiper-dot-active {
            width: 30rpx;
            height: 10rpx;
            border-radius: 10rpx;
            background: #fff;
        }
    }

    .body-category {
        width: 92%;
        margin: auto;
        margin-top: 30rpx;

        .body-category-item {
            width: 150rpx;
            height: 80rpx;
            text-align: center;
            line-height: 80rpx;
            border-radius: 40rpx;
            color: #FFF;

            &:nth-of-type(1) {
                background-image: linear-gradient(135deg, #FF8C63, #FF6689);
                box-shadow: 0 0 12rpx #faa4ab;
            }

            &:nth-of-type(2) {
                // background-image: linear-gradient(135deg, #8974EE, #647BD8);
                background-image: linear-gradient(135deg, #FF8C63, #FF6689);
                box-shadow: 0 0 12rpx #faa4ab;
            }

            &:nth-of-type(3) {
                // background-image: linear-gradient(135deg, #5BD951, #46bd5a);
                background-image: linear-gradient(135deg, #FF8C63, #FF6689);
                box-shadow: 0 0 12rpx #faa4ab;
            }

            &:nth-of-type(4) {
                background-image: linear-gradient(135deg, #56A9FF, #4687FF);
                box-shadow: 0 0 12rpx #647BD8;
            }
        }
    }

    .body-movieList {
        margin-top: 40rpx;

        .body-movieList-title {
            .body-movieList-title-icon {
                align-items: flex-end;

                .icon-xiangyoujiantou {
                    padding-bottom: 2rpx;
                }
            }
        }

        .body-movieList-content {
            width: 100%;
            flex-wrap: wrap;

            .content-item {
                width: 216rpx;

                .item-img {
                    position: relative;
                    width: 100%;
                    height: 283rpx;

                    .grade {
                        position: absolute;
                        top: 0;
                        right: 0;
                        width: 60rpx;
                        height: 40rpx;
                        text-align: center;
                        line-height: 40rpx;
                        color: #7D9BFF;
                        border-radius: 0 10rpx 0 10rpx;
                        background: rgba(125, 155, 255, 0.3);
                    }

                    image {
                        width: 100%;
                        height: 100%;
                        border-radius: 10rpx;
                    }

                    .cover {
                        position: absolute;
                        top: 243rpx;
                        left: 0;
                        width: 100%;
                        height: 40rpx;
                        background-color: rgba(0, 0, 0, 0.3);
                        color: #FFF;

                        &>view {
                            color: #FFF;
                        }

                        .pictureQuality {}

                        .duration {}
                    }
                }

                .item-info {
                    width: 100%;

                    .item-info-title {
                        overflow: hidden;
                        white-space: nowrap;
                        text-overflow: ellipsis;
                        color: #333;
                    }

                    .item-info-desc {
                        overflow: hidden;
                        white-space: nowrap;
                        text-overflow: ellipsis;
                    }
                }
            }
        }
    }
}

.foot {
    background-color: rgba(247, 247, 247, 0.3);
}